package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopWareDomain;
import edu.zust.zw.shop.db.dao.domain.ShopWareDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopWareDomainMapper {
    long countByExample(ShopWareDomainExample example);

    int deleteByExample(ShopWareDomainExample example);

    int deleteByPrimaryKey(String wareId);

    int insert(ShopWareDomain record);

    int insertSelective(ShopWareDomain record);

    List<ShopWareDomain> selectByExample(ShopWareDomainExample example);

    ShopWareDomain selectByPrimaryKey(String wareId);

    int updateByExampleSelective(@Param("record") ShopWareDomain record, @Param("example") ShopWareDomainExample example);

    int updateByExample(@Param("record") ShopWareDomain record, @Param("example") ShopWareDomainExample example);

    int updateByPrimaryKeySelective(ShopWareDomain record);

    int updateByPrimaryKey(ShopWareDomain record);
}